package ooday02;

public class Test {
    public static void main(String[] args) {
        Dog d = new Dog("蔡蔡",1,"黄");
        d.drink();
        d.eat();
        d.guardHome();
        Chick c = new Chick("坤坤",25,"黑");
        c.drink();
        c.layEggs();
        c.eat();
        Fish f = new Fish("虚虚",2,"白");
        f.drink();
        f.eat();


    }
}
